package org.duiduo.service;

import org.duiduo.mapper.UserMapper;
import org.duiduo.mapper.impl.UserMapperImpl;
import org.duiduo.domain.User;

import java.io.IOException;
import java.util.List;

public class ServiceDemo {

    public static void main(String[] args) throws IOException {
        UserMapper userMapper = new UserMapperImpl();
        List<User> all = userMapper.findAll();

        System.out.println(all);
    }
}
